selectedMessages returns empty Message instead of null when no rows are selected - fixes #256