Your time values are formatted as text, so when you use a formula like B2+B3 that will "coerce" text that looks like a time value to a real time value. You can use a formula like this to convert:
=SUMPRODUCT(($A$2:$A$548="Cleaning")*$B$2:$B$548)
format result cell as [h]:mm
...or you can convert the text value to time values like this
Select column B > Data > Text to Columns > Finish
Now your original SUMIF formula will work
regards, barry