Added Category to persistence.xml
Fixed filtering of categories