fixed a bug

Fixed a bug not returning the object (dict) when the address is a boolean.