Speed up fetching ward bed assignments, and introduce a method to get all of them