Added function for retrieving a filtered list of entries from database
When grouping by workflow steps, allow user to choose the workflow