Revert "Fix for #677" since this is now handled in pdb

This reverts commit ed96baa5a872bb53c97e175c98f3e765c7e67dc4.
Fixing the case of strings which can be ints/reals/rationals

As discussed in #677
Fixed incorrect default value for rational
Fixed #678