Fixed a bug where SQL inputs were failing due to being np.ints