RAZ-2890: Search throws error if file_type column returns NULL
Tweaked query to filter out nulls for file_types
Merge branch 'feature/RAZ-2890' of github.com:razuna/razuna into develop