Enums: temporary Fix for constexpr enum_set + Add static_cast to remove warnings + Change the condition of enum class comparison inclusion