Check for Limit instances while computing limits (return self)

see 4a72693
Use isinstance