Fixed 'and' implementation.