Fixed a bug where sparsity args were not being called properly