Workaround for import error when bounds are numpy array