Improved queries inside FilterManager to change the relationship between user and userPreferences from a OneToOne Bidirectional to a OneToOneUnidirectional