Fixed a display bug in the shiftlistreport

Also simplified the SQL-queries