made mistake in sql query. changed it to check for sessions where length...

... is equal to zero.