Overridden the prepare_query_value method in SequenceField inorder to re...

Overridden the prepare_query_value method in SequenceField in order to return the value as the required type.