Fix for bounds test